package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 装配包装运输对象 ecd_package_transportation
 * 
 * @author ruoyi
 * @date 2025-11-08
 */
public class EcdPackageTransportation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 产品ID */
    @Excel(name = "产品ID")
    private Long pid;

    /** 类型标识 */
    @Excel(name = "类型标识")
    private Long ptype;

    /** 组装线类型（人工/自动） */
    @Excel(name = "组装线类型", readConverterExp = "人=工/自动")
    private String assemblyLineType;

    /** 站名 */
    @Excel(name = "站名")
    private String stationName1;

    /** 工时(小时) */
    @Excel(name = "工时(小时)")
    private BigDecimal laborHour;

    /** 人力(人) */
    @Excel(name = "人力(人)")
    private Long laborHeadcount;

    /** 人工成本率/HR(元/小时) */
    @Excel(name = "人工成本率/HR(元/小时)")
    private BigDecimal laborCostRatePerHour;

    /** 秒/时 */
    @Excel(name = "秒/时")
    private Long secondPerHour;

    /** 人工装配线总投资(元) */
    @Excel(name = "人工装配线总投资(元)")
    private BigDecimal manualLineTotalInvestment;

    /** 人工装配线耗电功率(kW) */
    @Excel(name = "人工装配线耗电功率(kW)")
    private BigDecimal manualLinePowerConsumption;

    /** 人工装配效率(%) */
    @Excel(name = "人工装配效率(%)")
    private BigDecimal manualLineEfficiency;

    /** 人工装配不良费率(%) */
    @Excel(name = "人工装配不良费率(%)")
    private BigDecimal manualLineDefectRate;

    /** 线外工时(小时) */
    @Excel(name = "线外工时(小时)")
    private BigDecimal offlineHour;

    /** 工站工时总和(小时) */
    @Excel(name = "工站工时总和(小时)")
    private BigDecimal stationHourSum;

    /** 单站平衡工时(小时) */
    @Excel(name = "单站平衡工时(小时)")
    private BigDecimal singleStationBalanceHour;

    /** 最大平衡工时(小时) */
    @Excel(name = "最大平衡工时(小时)")
    private BigDecimal maxBalanceHour;

    /** 手动线总人力(人) */
    @Excel(name = "手动线总人力(人)")
    private Long manualLineTotalHeadcount;

    /** 手动线总工时(小时) */
    @Excel(name = "手动线总工时(小时)")
    private BigDecimal manualLineTotalHour;

    /** 手动线生产成本(元) */
    @Excel(name = "手动线生产成本(元)")
    private BigDecimal manualLineProductionCost;

    /** 手动线不良费用(元) */
    @Excel(name = "手动线不良费用(元)")
    private BigDecimal manualLineDefectCost;

    /** 手动线装配设备成本(元) */
    @Excel(name = "手动线装配设备成本(元)")
    private BigDecimal manualLineEquipmentCost;

    /** 手动线装配线成本率(%) */
    @Excel(name = "手动线装配线成本率(%)")
    private BigDecimal manualLineCostRate;

    /** 手动线装配总成本(元) */
    @Excel(name = "手动线装配总成本(元)")
    private BigDecimal manualLineTotalCost;

    /** 手动线一天产能(KPCS) */
    @Excel(name = "手动线一天产能(KPCS)")
    private BigDecimal manualLineDailyCapacityKpcs;

    /** 自动线装配平衡工时(小时) */
    @Excel(name = "自动线装配平衡工时(小时)")
    private BigDecimal autoLineBalanceHour;

    /** 自动装配人力(人) */
    @Excel(name = "自动装配人力(人)")
    private Long autoLineHeadcount;

    /** 自动线人工成本率(元/小时) */
    @Excel(name = "自动线人工成本率(元/小时)")
    private BigDecimal autoLineLaborCostRate;

    /** 自动线投资(元) */
    @Excel(name = "自动线投资(元)")
    private BigDecimal autoLineInvestment;

    /** 自动线功率(kW) */
    @Excel(name = "自动线功率(kW)")
    private BigDecimal autoLinePower;

    /** 自动线装配效率(%) */
    @Excel(name = "自动线装配效率(%)")
    private BigDecimal autoLineEfficiency;

    /** 自动线不良费率(%) */
    @Excel(name = "自动线不良费率(%)")
    private BigDecimal autoLineDefectRate;

    /** 自动线人力成本(元) */
    @Excel(name = "自动线人力成本(元)")
    private BigDecimal autoLineLaborCost;

    /** 自动线装配成本(元) */
    @Excel(name = "自动线装配成本(元)")
    private BigDecimal autoLineAssemblyCost;

    /** 自动线成本率(%) */
    @Excel(name = "自动线成本率(%)")
    private BigDecimal autoLineCostRate;

    /** 自动线不良费(元) */
    @Excel(name = "自动线不良费(元)")
    private BigDecimal autoLineDefectCost;

    /** 自动线总成本(元) */
    @Excel(name = "自动线总成本(元)")
    private BigDecimal autoLineTotalCost;

    /** 自动线一天产能(KPCS) */
    @Excel(name = "自动线一天产能(KPCS)")
    private BigDecimal autoLineDailyCapacityKpcs;

    /** 每箱包装成本(元) */
    @Excel(name = "每箱包装成本(元)")
    private BigDecimal packCostPerCarton;

    /** 每箱包装量(PCS) */
    @Excel(name = "每箱包装量(PCS)")
    private Long packQtyPerCarton;

    /** 包材损耗(元) */
    @Excel(name = "包材损耗(元)")
    private BigDecimal packMaterialLossCost;

    /** 包材成本(元) */
    @Excel(name = "包材成本(元)")
    private BigDecimal packMaterialTotalCost;

    /** 车辆费用(元/车) */
    @Excel(name = "车辆费用(元/车)")
    private BigDecimal vehicleFee;

    /** 每车栈板数 */
    @Excel(name = "每车栈板数")
    private Long palletsPerVehicle;

    /** 每栈板箱数 */
    @Excel(name = "每栈板箱数")
    private Long cartonsPerPallet;

    /** 每车总产品数 */
    @Excel(name = "每车总产品数")
    private Long totalProductsPerVehicle;

    /** 产品运输费用(元/PCS) */
    @Excel(name = "产品运输费用(元/PCS)")
    private BigDecimal productTransportFee;

    /** 装配包装运输总费用(元) */
    @Excel(name = "装配包装运输总费用(元)")
    private BigDecimal assemblyPackTransportTotalFee;

    /** 全局唯一标识 */
    private String uid;

    /** 更新日期 */
    private Date updateDate;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 删除日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteDate;

    /** 包装详情信息 */
    private List<EcdPackageDetail> ecdPackageDetailList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }

    public void setPtype(Long ptype) 
    {
        this.ptype = ptype;
    }

    public Long getPtype() 
    {
        return ptype;
    }

    public void setAssemblyLineType(String assemblyLineType) 
    {
        this.assemblyLineType = assemblyLineType;
    }

    public String getAssemblyLineType() 
    {
        return assemblyLineType;
    }

    public void setStationName1(String stationName1) 
    {
        this.stationName1 = stationName1;
    }

    public String getStationName1() 
    {
        return stationName1;
    }

    public void setLaborHour(BigDecimal laborHour) 
    {
        this.laborHour = laborHour;
    }

    public BigDecimal getLaborHour() 
    {
        return laborHour;
    }

    public void setLaborHeadcount(Long laborHeadcount) 
    {
        this.laborHeadcount = laborHeadcount;
    }

    public Long getLaborHeadcount() 
    {
        return laborHeadcount;
    }

    public void setLaborCostRatePerHour(BigDecimal laborCostRatePerHour) 
    {
        this.laborCostRatePerHour = laborCostRatePerHour;
    }

    public BigDecimal getLaborCostRatePerHour() 
    {
        return laborCostRatePerHour;
    }

    public void setSecondPerHour(Long secondPerHour) 
    {
        this.secondPerHour = secondPerHour;
    }

    public Long getSecondPerHour() 
    {
        return secondPerHour;
    }

    public void setManualLineTotalInvestment(BigDecimal manualLineTotalInvestment) 
    {
        this.manualLineTotalInvestment = manualLineTotalInvestment;
    }

    public BigDecimal getManualLineTotalInvestment() 
    {
        return manualLineTotalInvestment;
    }

    public void setManualLinePowerConsumption(BigDecimal manualLinePowerConsumption) 
    {
        this.manualLinePowerConsumption = manualLinePowerConsumption;
    }

    public BigDecimal getManualLinePowerConsumption() 
    {
        return manualLinePowerConsumption;
    }

    public void setManualLineEfficiency(BigDecimal manualLineEfficiency) 
    {
        this.manualLineEfficiency = manualLineEfficiency;
    }

    public BigDecimal getManualLineEfficiency() 
    {
        return manualLineEfficiency;
    }

    public void setManualLineDefectRate(BigDecimal manualLineDefectRate) 
    {
        this.manualLineDefectRate = manualLineDefectRate;
    }

    public BigDecimal getManualLineDefectRate() 
    {
        return manualLineDefectRate;
    }

    public void setOfflineHour(BigDecimal offlineHour) 
    {
        this.offlineHour = offlineHour;
    }

    public BigDecimal getOfflineHour() 
    {
        return offlineHour;
    }

    public void setStationHourSum(BigDecimal stationHourSum) 
    {
        this.stationHourSum = stationHourSum;
    }

    public BigDecimal getStationHourSum() 
    {
        return stationHourSum;
    }

    public void setSingleStationBalanceHour(BigDecimal singleStationBalanceHour) 
    {
        this.singleStationBalanceHour = singleStationBalanceHour;
    }

    public BigDecimal getSingleStationBalanceHour() 
    {
        return singleStationBalanceHour;
    }

    public void setMaxBalanceHour(BigDecimal maxBalanceHour) 
    {
        this.maxBalanceHour = maxBalanceHour;
    }

    public BigDecimal getMaxBalanceHour() 
    {
        return maxBalanceHour;
    }

    public void setManualLineTotalHeadcount(Long manualLineTotalHeadcount) 
    {
        this.manualLineTotalHeadcount = manualLineTotalHeadcount;
    }

    public Long getManualLineTotalHeadcount() 
    {
        return manualLineTotalHeadcount;
    }

    public void setManualLineTotalHour(BigDecimal manualLineTotalHour) 
    {
        this.manualLineTotalHour = manualLineTotalHour;
    }

    public BigDecimal getManualLineTotalHour() 
    {
        return manualLineTotalHour;
    }

    public void setManualLineProductionCost(BigDecimal manualLineProductionCost) 
    {
        this.manualLineProductionCost = manualLineProductionCost;
    }

    public BigDecimal getManualLineProductionCost() 
    {
        return manualLineProductionCost;
    }

    public void setManualLineDefectCost(BigDecimal manualLineDefectCost) 
    {
        this.manualLineDefectCost = manualLineDefectCost;
    }

    public BigDecimal getManualLineDefectCost() 
    {
        return manualLineDefectCost;
    }

    public void setManualLineEquipmentCost(BigDecimal manualLineEquipmentCost) 
    {
        this.manualLineEquipmentCost = manualLineEquipmentCost;
    }

    public BigDecimal getManualLineEquipmentCost() 
    {
        return manualLineEquipmentCost;
    }

    public void setManualLineCostRate(BigDecimal manualLineCostRate) 
    {
        this.manualLineCostRate = manualLineCostRate;
    }

    public BigDecimal getManualLineCostRate() 
    {
        return manualLineCostRate;
    }

    public void setManualLineTotalCost(BigDecimal manualLineTotalCost) 
    {
        this.manualLineTotalCost = manualLineTotalCost;
    }

    public BigDecimal getManualLineTotalCost() 
    {
        return manualLineTotalCost;
    }

    public void setManualLineDailyCapacityKpcs(BigDecimal manualLineDailyCapacityKpcs) 
    {
        this.manualLineDailyCapacityKpcs = manualLineDailyCapacityKpcs;
    }

    public BigDecimal getManualLineDailyCapacityKpcs() 
    {
        return manualLineDailyCapacityKpcs;
    }

    public void setAutoLineBalanceHour(BigDecimal autoLineBalanceHour) 
    {
        this.autoLineBalanceHour = autoLineBalanceHour;
    }

    public BigDecimal getAutoLineBalanceHour() 
    {
        return autoLineBalanceHour;
    }

    public void setAutoLineHeadcount(Long autoLineHeadcount) 
    {
        this.autoLineHeadcount = autoLineHeadcount;
    }

    public Long getAutoLineHeadcount() 
    {
        return autoLineHeadcount;
    }

    public void setAutoLineLaborCostRate(BigDecimal autoLineLaborCostRate) 
    {
        this.autoLineLaborCostRate = autoLineLaborCostRate;
    }

    public BigDecimal getAutoLineLaborCostRate() 
    {
        return autoLineLaborCostRate;
    }

    public void setAutoLineInvestment(BigDecimal autoLineInvestment) 
    {
        this.autoLineInvestment = autoLineInvestment;
    }

    public BigDecimal getAutoLineInvestment() 
    {
        return autoLineInvestment;
    }

    public void setAutoLinePower(BigDecimal autoLinePower) 
    {
        this.autoLinePower = autoLinePower;
    }

    public BigDecimal getAutoLinePower() 
    {
        return autoLinePower;
    }

    public void setAutoLineEfficiency(BigDecimal autoLineEfficiency) 
    {
        this.autoLineEfficiency = autoLineEfficiency;
    }

    public BigDecimal getAutoLineEfficiency() 
    {
        return autoLineEfficiency;
    }

    public void setAutoLineDefectRate(BigDecimal autoLineDefectRate) 
    {
        this.autoLineDefectRate = autoLineDefectRate;
    }

    public BigDecimal getAutoLineDefectRate() 
    {
        return autoLineDefectRate;
    }

    public void setAutoLineLaborCost(BigDecimal autoLineLaborCost) 
    {
        this.autoLineLaborCost = autoLineLaborCost;
    }

    public BigDecimal getAutoLineLaborCost() 
    {
        return autoLineLaborCost;
    }

    public void setAutoLineAssemblyCost(BigDecimal autoLineAssemblyCost) 
    {
        this.autoLineAssemblyCost = autoLineAssemblyCost;
    }

    public BigDecimal getAutoLineAssemblyCost() 
    {
        return autoLineAssemblyCost;
    }

    public void setAutoLineCostRate(BigDecimal autoLineCostRate) 
    {
        this.autoLineCostRate = autoLineCostRate;
    }

    public BigDecimal getAutoLineCostRate() 
    {
        return autoLineCostRate;
    }

    public void setAutoLineDefectCost(BigDecimal autoLineDefectCost) 
    {
        this.autoLineDefectCost = autoLineDefectCost;
    }

    public BigDecimal getAutoLineDefectCost() 
    {
        return autoLineDefectCost;
    }

    public void setAutoLineTotalCost(BigDecimal autoLineTotalCost) 
    {
        this.autoLineTotalCost = autoLineTotalCost;
    }

    public BigDecimal getAutoLineTotalCost() 
    {
        return autoLineTotalCost;
    }

    public void setAutoLineDailyCapacityKpcs(BigDecimal autoLineDailyCapacityKpcs) 
    {
        this.autoLineDailyCapacityKpcs = autoLineDailyCapacityKpcs;
    }

    public BigDecimal getAutoLineDailyCapacityKpcs() 
    {
        return autoLineDailyCapacityKpcs;
    }

    public void setPackCostPerCarton(BigDecimal packCostPerCarton) 
    {
        this.packCostPerCarton = packCostPerCarton;
    }

    public BigDecimal getPackCostPerCarton() 
    {
        return packCostPerCarton;
    }

    public void setPackQtyPerCarton(Long packQtyPerCarton) 
    {
        this.packQtyPerCarton = packQtyPerCarton;
    }

    public Long getPackQtyPerCarton() 
    {
        return packQtyPerCarton;
    }

    public void setPackMaterialLossCost(BigDecimal packMaterialLossCost) 
    {
        this.packMaterialLossCost = packMaterialLossCost;
    }

    public BigDecimal getPackMaterialLossCost() 
    {
        return packMaterialLossCost;
    }

    public void setPackMaterialTotalCost(BigDecimal packMaterialTotalCost) 
    {
        this.packMaterialTotalCost = packMaterialTotalCost;
    }

    public BigDecimal getPackMaterialTotalCost() 
    {
        return packMaterialTotalCost;
    }

    public void setVehicleFee(BigDecimal vehicleFee) 
    {
        this.vehicleFee = vehicleFee;
    }

    public BigDecimal getVehicleFee() 
    {
        return vehicleFee;
    }

    public void setPalletsPerVehicle(Long palletsPerVehicle) 
    {
        this.palletsPerVehicle = palletsPerVehicle;
    }

    public Long getPalletsPerVehicle() 
    {
        return palletsPerVehicle;
    }

    public void setCartonsPerPallet(Long cartonsPerPallet) 
    {
        this.cartonsPerPallet = cartonsPerPallet;
    }

    public Long getCartonsPerPallet() 
    {
        return cartonsPerPallet;
    }

    public void setTotalProductsPerVehicle(Long totalProductsPerVehicle) 
    {
        this.totalProductsPerVehicle = totalProductsPerVehicle;
    }

    public Long getTotalProductsPerVehicle() 
    {
        return totalProductsPerVehicle;
    }

    public void setProductTransportFee(BigDecimal productTransportFee) 
    {
        this.productTransportFee = productTransportFee;
    }

    public BigDecimal getProductTransportFee() 
    {
        return productTransportFee;
    }

    public void setAssemblyPackTransportTotalFee(BigDecimal assemblyPackTransportTotalFee) 
    {
        this.assemblyPackTransportTotalFee = assemblyPackTransportTotalFee;
    }

    public BigDecimal getAssemblyPackTransportTotalFee() 
    {
        return assemblyPackTransportTotalFee;
    }

    public void setUid(String uid) 
    {
        this.uid = uid;
    }

    public String getUid() 
    {
        return uid;
    }

    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }

    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    public void setDeleteDate(Date deleteDate) 
    {
        this.deleteDate = deleteDate;
    }

    public Date getDeleteDate() 
    {
        return deleteDate;
    }

    public List<EcdPackageDetail> getEcdPackageDetailList()
    {
        return ecdPackageDetailList;
    }

    public void setEcdPackageDetailList(List<EcdPackageDetail> ecdPackageDetailList)
    {
        this.ecdPackageDetailList = ecdPackageDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pid", getPid())
            .append("ptype", getPtype())
            .append("assemblyLineType", getAssemblyLineType())
            .append("stationName1", getStationName1())
            .append("laborHour", getLaborHour())
            .append("laborHeadcount", getLaborHeadcount())
            .append("laborCostRatePerHour", getLaborCostRatePerHour())
            .append("secondPerHour", getSecondPerHour())
            .append("manualLineTotalInvestment", getManualLineTotalInvestment())
            .append("manualLinePowerConsumption", getManualLinePowerConsumption())
            .append("manualLineEfficiency", getManualLineEfficiency())
            .append("manualLineDefectRate", getManualLineDefectRate())
            .append("offlineHour", getOfflineHour())
            .append("stationHourSum", getStationHourSum())
            .append("singleStationBalanceHour", getSingleStationBalanceHour())
            .append("maxBalanceHour", getMaxBalanceHour())
            .append("manualLineTotalHeadcount", getManualLineTotalHeadcount())
            .append("manualLineTotalHour", getManualLineTotalHour())
            .append("manualLineProductionCost", getManualLineProductionCost())
            .append("manualLineDefectCost", getManualLineDefectCost())
            .append("manualLineEquipmentCost", getManualLineEquipmentCost())
            .append("manualLineCostRate", getManualLineCostRate())
            .append("manualLineTotalCost", getManualLineTotalCost())
            .append("manualLineDailyCapacityKpcs", getManualLineDailyCapacityKpcs())
            .append("autoLineBalanceHour", getAutoLineBalanceHour())
            .append("autoLineHeadcount", getAutoLineHeadcount())
            .append("autoLineLaborCostRate", getAutoLineLaborCostRate())
            .append("autoLineInvestment", getAutoLineInvestment())
            .append("autoLinePower", getAutoLinePower())
            .append("autoLineEfficiency", getAutoLineEfficiency())
            .append("autoLineDefectRate", getAutoLineDefectRate())
            .append("autoLineLaborCost", getAutoLineLaborCost())
            .append("autoLineAssemblyCost", getAutoLineAssemblyCost())
            .append("autoLineCostRate", getAutoLineCostRate())
            .append("autoLineDefectCost", getAutoLineDefectCost())
            .append("autoLineTotalCost", getAutoLineTotalCost())
            .append("autoLineDailyCapacityKpcs", getAutoLineDailyCapacityKpcs())
            .append("packCostPerCarton", getPackCostPerCarton())
            .append("packQtyPerCarton", getPackQtyPerCarton())
            .append("packMaterialLossCost", getPackMaterialLossCost())
            .append("packMaterialTotalCost", getPackMaterialTotalCost())
            .append("vehicleFee", getVehicleFee())
            .append("palletsPerVehicle", getPalletsPerVehicle())
            .append("cartonsPerPallet", getCartonsPerPallet())
            .append("totalProductsPerVehicle", getTotalProductsPerVehicle())
            .append("productTransportFee", getProductTransportFee())
            .append("assemblyPackTransportTotalFee", getAssemblyPackTransportTotalFee())
            .append("uid", getUid())
            .append("updateDate", getUpdateDate())
            .append("createDate", getCreateDate())
            .append("deleteDate", getDeleteDate())
            .append("ecdPackageDetailList", getEcdPackageDetailList())
            .toString();
    }
}
